<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
   /******************************************************************************
     Copyright:: 2020- IBM, Inc

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
  *****************************************************************************/
-->

<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>For a 'combobox', 'aria-haspopup' must match the role of the combobox pop-up.</title>

    <style>
        .example {
            font-size: 2vh;
            padding: 1vh;
            background-color: #fee;
            border: 1px #ccc solid;
        }
</style>

</head>
<body>
    <div role="main">
        <h1>Using viewport units to prevent text resizing</h1>
        <p>This simple page shows how viewport units can prevent text-resizing.</p>	
        <p>Setting the following paragraph to have a size of 2vh sets it to 2% of the height of the viewport.</p>
        <hr>
        <p class="example">This text is set with a font-size of 2vh.</p>
    </div>

    <h2 style="font-size:3vh;">hey you</h2>

    <h2 style="font-size:300%;">yes you ! </h2>
    <p>blah</p>
<script type="text/javascript">
//<![CDATA[
  if (typeof(OpenAjax) == 'undefined') OpenAjax = {}
  if (typeof(OpenAjax.a11y) == 'undefined') OpenAjax.a11y = {}
  OpenAjax.a11y.ruleCoverage = [
    {
      ruleId: "1200",
      passedXpaths: [
      ],
      failedXpaths: [
          "/html/head/style",
          "/html/body/h2",
      ]
    }
  ];
//]]>
</script>

</body>
</html>
